/* BACKGROUND VIDEO */

@import "mixins";

#wrap_video, .header-video {
	height: 670px;
	position: relative;
	margin-bottom: 110px;
	background-color: #005875;
  @media (max-width: 460px) {margin-bottom: @marginDafaultMobile;}

}

.wrap_video_top {
	display: table-cell;
	text-align: center;
	width: 100%;
	position: absolute;
	top:30%;
     h2 {
     	  font-family:  @font-default;
        display: block;
        color: #fff;
        font-size: 46px;
        font-weight: 400;
        text-align: center;
        width: 100%;
        text-transform: uppercase;
        margin-bottom: 25px;
        //text-shadow: 1px 1px 8px rgba(57, 57, 57, 1);
        @media (max-width: 460px) {font-size: 34px; margin-bottom: 12px; }
      }
      h3 {
      	font-family:  @font-default;
      	color: #ffffff;
      	font-size: 18px;
        padding: 0 50px;
        font-weight: 400;
        //text-shadow: 1px 1px 8px rgba(57, 57, 57, 1);
        @media (max-width: 460px) {font-size: 16px; line-height: 22px; }

    		span {
    			text-decoration: underline;
    		}
      }
}

.wrap_video_bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding-top: 30px;
  padding-bottom: 30px;
  background-image: url("images/bg_opacity_blue_form_hp.png");
  background-repeat: repeat;
  height: 200px;

	h3 {
   	font-family:  @font-default;
   	color: #ffffff;
   	font-size: 18px;
   	color: #ffffff;
		font-size: 16px;
		margin-top: 20px;
		float: left;
		text-align: center;
		width: 100%;
    @media (max-width: 460px) {padding: 0 50px; font-size: 14px;}
    @media(max-width:767px){padding: 0 50px; font-size: 14px;}
  		span {
  			text-decoration: underline;
  		}
    }


}

/* ====================================
   VIDEOHEADER
   ==================================== */

.header-video {
  position: relative;
  overflow: hidden;
  max-height: 600px; /*Da settare anche in responsive */
}

.header-video.switchHvd {
  top: -35px !important;
}

iframe, video {
  position: absolute;
  /*top: 0;*/
  bottom: 0;
  left: 0;
  right: 0;
}

iframe {
  height: 100%;
  width: 100%;
}

video {
  width: 100%;
}

.header-video--media {
  width: 100%;
  height: auto;
}




